package com.java.thread.demo.chapter1.lsAlive;

/**
 * Created by yiyongyao on 2017/12/18.
 */
public class TestMain {
    /**
     * isAlive() 线程存活测试
     * @param args
     */
    public static void main(String[] args) {
        CountOperate run = new CountOperate(); //构造函数由main函数执行
        Thread myThread = new Thread(run);
        run.start();   //执行run函数 新的线程存活

    }

}
